package com.hubei.DAO;

import com.hubei.DAO.Impl.UserDaoImpl;
import com.hubei.vo.Users;

import java.util.List;

public interface UserDao {

    static UserDao getInstance(){
        return new UserDaoImpl();
    }

    Users userLogin(Users users);

    List<Users> queryUserList(String username);

    int insertUser(Users users);

    int updateUser(Users users);

    int deleteUser(String id);

    public Users queryUserById(String id);

}
